#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void swap(int* pa, int* pb)
{
	int z = *pa;
	*pa = *pb;
	*pb = z;
}
int main()
{
	int a = 0;
	int b = 0;
	scanf("%d %d", &a, &b);
	//写一个函数，交换两个整型变量的值
	printf("交换前，a=%d,b=%d\n", a, b);
	swap(&a, &b);
	printf("交换后，a=%d,b=%d", a, b);
	return 0;
}